Skip to main content
Version: 1.0.2

Approve wallet

The Approve wallet API is designed to approve a created wallet. Upon approval, the API triggers an email notification to all the legal representatives associated with the account, prompting them to generate their keys for access to the approved wallet.

Method: POST

{{URL}}/jsonrpc

Headers

NameValue
Content-Typeapplication/json

Example

Payload Parameters
ParameterDescription

ID

Mandatory

String

Represents the unique identifier of the wallet to be approved.

Ex: "1120001"

isApproved

Mandatory

Boolean

Indicates whether the wallet is approved or not.

Ex: true


curl --location '{{url}}/rpc/WalletService/ApproveWallet' \
--header 'DiviceID: 8020' \
--header 'Signature: keyId=8020,algorithm=ecdsa-sha256,signature=MEUCIQCNi1vjPf/HpI9R2DXnc0Zt1s6YmWyA4H1x813lJ+tuDgIgB+lrc+iCMyTUGiraG9kGKNDXYiz7RfBBtifr5wUQs54=' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic e3tFbWFpbH19Ont7UGFzc3dvcmR9fQ==' \
--data '{"ID":"1120001","isApproved":true}'

Body


{
"ID": "1120001",
"isApproved": true
}

Response: 200

Response Parameters
ParameterDescription

status

String

Provides the status of the approval process.

Ex: "Approved Successfully"


{
"status": "Approved Successfully"
}